package com.ruoyi.operationAdministration.mapper;

import java.util.List;
import com.ruoyi.operationAdministration.domain.OperationEquipmentBook;

/**
 * 设备基础台账Mapper接口
 *
 * @author lth
 * @date 2023-12-21
 */
public interface OperationEquipmentBookMapper
{
    /**
     * 查询设备基础台账
     *
     * @param equipmentId 设备基础台账主键
     * @return 设备基础台账
     */
    public OperationEquipmentBook selectEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 查询设备基础台账列表
     *
     * @param equipmentBook 设备基础台账
     * @return 设备基础台账集合
     */
    public List<OperationEquipmentBook> selectEquipmentBookList(OperationEquipmentBook equipmentBook);

    /**
     * 新增设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int insertEquipmentBook(OperationEquipmentBook equipmentBook);

    /**
     * 修改设备基础台账
     *
     * @param equipmentBook 设备基础台账
     * @return 结果
     */
    public int updateEquipmentBook(OperationEquipmentBook equipmentBook);

    /**
     * 删除设备基础台账
     *
     * @param equipmentId 设备基础台账主键
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentId(String equipmentId);

    /**
     * 批量删除设备基础台账
     *
     * @param equipmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentBookByEquipmentIds(String[] equipmentIds);

    /**     //对设备名称、设备编码进行模块或等值查询
    * @Author lth
    * @Description //TODO
    * @Date 16:40 2023/12/21
    * @Param
    * @return
     **/
    List<OperationEquipmentBook> getByKeyWord(String keyWord);
}
